package com.longsys.eventsourcing.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("ROLE")
@Data
public class Role {

    @TableId(value = "ROLE_ID", type = IdType.AUTO)
    private int roleId;

    @TableField(value = "ROLE_NAME")
    private String roleName;
}
